package com.weixing.mall.provider.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.weixing.mall.provider.model.domain.GoodsIntro;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 商品模块-商品描述表 Mapper 接口
 * </p>
 *
 * @author Small
 * @since 2019-11-20
 */
public interface GoodsIntroMapper extends BaseMapper<GoodsIntro> {
    GoodsIntro selectGoodsId(@Param("id") Long goodsId);

    void update(@Param("qs")GoodsIntro goodsIntro);

    GoodsIntro selectByGoodsId( @Param("goodsId") Long goodsId);

    void updateByGoodsId(GoodsIntro goodsIntro);

    void deleByGoodsId(Long goodsId);
}
